body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f8ff;
    color: #333;
}

#header {
    background: linear-gradient(to right, #0078d7, #005a9e);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#nav {
    display: flex;
    justify-content: center;
    background-color: #004b7f;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
    margin: 0 10px;
}

#nav a:hover {
    color: #ffb480;
}

#search {
    margin: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: max-content 1fr;
}

#search .select{
    padding: 15px;
    font-size: 16px;
    margin-right: 10px;
    width: 200px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
#search #selectList{
    border: 1px solid #ddd;
    border-radius: 5px;
    height: initial;
    justify-self: center;
}

.button {
    padding: 15px 25px;
    font-size: 16px;
    background: #0078d7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button:hover {
    background: #005a9e;
}


#queryResult {
    padding: 30px 20px;
    text-align: center;
    background: #f0f8ff;
}

#queryResult .ticket {
    border-radius: 10px;
    margin: 15px;
    padding: 15px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#queryResult .ticket:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#queryResult .ticket .ticketInfo{
    display: grid;
    grid-template-columns: repeat(3, max-content);
    width: max-content;
}

#queryResult .ticket .ticketInfo * {
    width: max-content;
    height: max-content;
    justify-self: start;
    align-self: center;
    margin: 0 20px 0 0;
}

#queryResult .ticket h3 {
    margin: 10px 0;
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 20px;
    color: #004b7f;
}

#queryResult .ticket p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}

#queryResult .ticket .seatInfo{
    display: none;
    background-color: #f7f7f7;
    border-radius: 10px;
    cursor: default;
}
#queryResult .ticket .seatInfo .seatLevel{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-around;
}

#queryResult .ticket .seatInfo .seatLevel > *{
    margin: 10px 0;
    align-content: center;
}

#transpage{
    display: grid;
    grid-template-columns: repeat(5,max-content);
    justify-content: center;
}

#transpage > div {
    margin: 0 20px;
    cursor: pointer;
    align-self: center;
}

#transpage #curpage {
    width: 20px;
    padding: 5px 10px;
}

#footer{
    height: 100px;
    background-color: rgb(0, 119, 213);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    justify-items: center;
    padding: 0 0 35px 0;
    margin-top: 10px;
}

